package com.jfm.jfmc.plugin.snmp.entity;

import lombok.Data;

import java.util.Map;

/**
 * @author DYang
 * @since 2024-10-13 10:53
 *
 * SNMP 响应结果封装
 */
@Data
public class SNMPResponse {

    /**
     * 采集主机
     */
    private String host;
    /**
     * oid
     */
    private String oid;
    /**
     * 采集community
     */
    private String community;
    /**
     * 采集结果
     */
    private Map<String,String> result;
    /**
     * 采集异常信息
     */
    private String errorMsg;
    /**
     * 采集开始时间(ms)
     */
    private long startTime;
    /**
     * 采集耗时(ms)
     */
    private long responseTime;
}
